﻿function Alert(message, fn) {
    var d = dialog({
        title: '提示',
        content: message,
        okValue: '确定',
        ok: fn
    });
    d.show();
}
function Confirm(message,okfn,fn) {
    var d = dialog({
        title: '提示',
        content: message,
        okValue: '确定',
        cancelValue: '取消',
        ok: function () {
            okfn();
        },
        cancel: function () {
            fn();
        }
    });
    d.show();
}



